import Fetch from '../service/Fetch'
import Storage from '@/platforms/wechat/storage'

export default {
    install(Vue, options) {
    // ajax
        Vue.prototype.$axios = Fetch
        Vue.prototype.$session = Storage

        // title
        Vue.prototype.$title = function(title) {
            wx.setNavigationBarTitle({
                title
            })
        }
    }

}
